package D12_6z.Properties_1;

import java.io.FileWriter;
import java.util.Properties;

public class Demo1 {
    public static void main(String[] args) throws Exception {
        Properties prop = new Properties();
        prop.setProperty("uid","001");
        prop.setProperty("username","jack");
        prop.setProperty("password","123");
        FileWriter out = new FileWriter("f4.properties");
        prop.store(out, "Y2019/M12_/D12_6z/Properties_1");
        out.close();
    }
}
